Never compare floats for equality
authorEmmanuele Bassi <ebassi@gnome.org>
Fri, 22 Mar 2019 12:39:28 +0000 (12:39 +0000)
committerBenjamin Otte <otte@redhat.com>
Mon, 29 Apr 2019 00:26:31 +0000 (02:26 +0200)
commit40beb69487624113a92cef8d1ed9ad3aaebc859b
treef1ba217e34a50ae12b9e604888fdd1bf1d224c7e
parentf1cadee19613c8fcc0fa7d6b35e017919a2dab82
Never compare floats for equality

Floating point values cannot ever be compared for equality. GLib has a
G_APPROX_VALUE macro that lets us compare two value within a provided
precision, so we should use that instead.
gsk/gsktransform.c